{*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2012 PrestaShop SA
*  @version  Release: $Revision: 14011 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

	<!-- Block CMS module footer -->
	{foreach from=$cms_titles key=cms_key item=cms_title}
		<div id="informations_block_left_{$cms_title.location}" class="block style_footer informations_block_left_{$cms_key}">
			<h4>{$cms_title.name}</h4>
			<div class="block_content">
				{if $cms_title.auto_load == 1}
					{assign var='listdata' value=BlockCms::loadDataAuto($cms_key,$cms_title.auto_load)}
					{if $listdata}
						<ul>
						{foreach from=$listdata item=cms_page}
							<li><span style="color:#1f6b8e;padding-right:15px">{Tools::displayDateCus($cms_page.date_upd,$cookie->id_lang,false,' ')}</span><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>
						{/foreach}
						</ul>
					{/if}
				{elseif $cms_title.location==3 && $cms_title.cms}
					<ul>
						{foreach from=$cms_title.cms item=cms_page}
							<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>
						{/foreach}
					</ul>
				{else}
				ccccccccccc
					{foreach from=$cms_title.cms item=cms_page}
						{$cms_page.content}
					{/foreach}
				{/if}
				
			</div>
		</div>
	{/foreach}
	<div class="footer_logo"></div>
	<!-- /Block CMS module footer-->
